package com.world.dao;

import java.sql.SQLException;
import java.util.List;

import com.world.enty.User;
import com.world.enty.Worlds;

public interface IWrldsDAO {

	int insert(Worlds w,int userid) throws SQLException ;
	
	int delete(Worlds w) throws SQLException ;
	
	int update(Worlds w,int userid) throws SQLException ;
	
	List<Worlds> findAll() throws SQLException ;
	List<Worlds> findByUserid(int userid) throws SQLException ;
	
}
